<template>
  <el-button size="mini" class="btn-back" icon="el-icon-arrow-left" @click="goBack">
    返回列表
  </el-button>
</template>

<script>
export default {
  name: 'GoBack',
  methods: {
    goBack() {
      this.$emit('click')
    }
  }
}
</script>

<style lang="scss">
// 返回按钮
.btn-back{
  position: fixed;
  top: 20px;
  right: 30px;
  z-index: 1000000
}
</style>
